package org.thirdHero.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages={"org.thirdHero.core", "org.thirdHero.admin","org.thirdHero.db"})
@MapperScan("org.thirdHero.db.dao")
public class AdminApplication {
    private static final Logger logger = LoggerFactory.getLogger(AdminApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
        logger.info("****************项目加载完成****************");
    }

}